'use strict';

const angular = require('angular'),

    advertRoutes = require('./routes/advert.route'),
    advertController = require('./controller/advert.controller'),
    advertService = require('./services/advert.service'),
    moduleName = 'advert';

angular.module(moduleName, [])
  .config(advertRoutes)
  .factory('advertService',advertService)
  .controller('advertController', advertController);
;

module.exports = moduleName;
